Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1044 +/- ##
=======================================
Coverage 99.50% 99.50%
=======================================
Files 154 154
Lines 34868 34891 +23
Branches 2639 2640 +1
=======================================
+ Hits 34694 34717 +23
Misses 98 98
Partials 76 76
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fitting a second window with
rescale=Truecan choose the wrong scale. For example, these two fits of the same window return 0.1 and 100.0 on main.The scale check sees residuals in the units of the previous fit, then applies the new multiplier to the original observations. In a seeded GARCH(1,1) example both fits report convergence, but the refit stays at the starting values (alpha 0.2, beta 0.7, against 0.172 and 0.778 for a fresh model), and its one-step variance forecasts differ by up to 31% after converting back to the original units.
Restore the original observations and rebuild the regressors before checking the next window. The regression test refits an ARX(1) on a second window at three amplitudes and checks the scale, parameters and one-step forecasts against OLS on that window. The fast suite passes (31,726 passed, 19 skipped).
AI use: Claude and Codex did most of the work, the patch and the test, and drafted this text.